Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Play 3.0 upgrade #1559

Merged
merged 20 commits into from
May 9, 2024
Merged

Play 3.0 upgrade #1559

merged 20 commits into from
May 9, 2024

Conversation

davidfurey
Copy link
Member

@davidfurey davidfurey commented Apr 10, 2024

What's changed?

Main change is upgrading to Play 3.0

Library upgrades to versions supporting Play 3.0

  • ScalikeJDBC
  • FAPI client
  • Pan domain auth client
  • play-json-derived-codecs
  • mobile-notifications client

Library upgrades to align transitive dependencies

  • CAPI version to match version pulled in by FAPI client
  • Scanmo to avoid Jackson issue via AWS client

Other changes

  • Upgrades to SBT 1.9.6
  • Adds workarounds for dependency conflicts
  • Resolves various compiler warnings
  • Switches from Akka to Pekko

@davidfurey davidfurey marked this pull request as ready for review May 8, 2024 09:15
@davidfurey davidfurey requested a review from a team as a code owner May 8, 2024 09:15
@davidfurey davidfurey requested a review from fredex42 May 8, 2024 09:16
@davidfurey
Copy link
Member Author

Cursory checks on CODE look fine.

Copy link
Contributor

@jonathonherbert jonathonherbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested Editions proofing in CODE, LGTM. Useful comments around dependency overrides, evictions etc 🙏

  • Upgrades to SBT 1.9.7

1.9.6?

Caused by play-json groupId changing from com.typesafe.play to org.playframework
This is required because v1.0.0-M15 depends on software.amazon.awssdk:dynamodb:2.15.78 which depends on jackson-databind:2.10.5.1, which is binary incompatible with jackson-databind:2.16.2 which is depended on by com.amazonaws:aws-java-sdk-core:1.12.470.

Scanamo v1.0.0 uses software.amazon.awssdk:dynamodb:2.23.4

See FasterXML/jackson-databind#2897
```
[warn] /Users/david_furey/code/facia-tool/app/controllers/UserDataController.scala:23:69: Reference to uninitialized value Trail
[warn]   implicit val UserData: DynamoFormat[UserData] = deriveDynamoFormat[UserData]
[warn]                                                                     ^
[warn] /Users/david_furey/code/facia-tool/app/controllers/UserDataController.scala:24:63: Reference to uninitialized value JsValue
[warn]   implicit val Trail: DynamoFormat[Trail] = deriveDynamoFormat[Trail]
[warn]                                                               ^
[warn] two warnings found
```
@davidfurey
Copy link
Member Author

davidfurey commented May 8, 2024

  • Upgrades to SBT 1.9.7

1.9.6?

Good spot. I've update the description and rewritten the commit

@davidfurey davidfurey merged commit 734f4ed into main May 9, 2024
9 checks passed
@davidfurey davidfurey deleted the play-3.0-upgrade branch May 9, 2024 09:09
@prout-bot
Copy link

Seen on PROD (merged by @davidfurey 5 minutes and 58 seconds ago) Please check your changes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants